package com.ruibang.glass.produce.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.DeviceReq;
import com.ruibang.glass.produce.entity.Device;
import com.teaming.cloud.framework2.common.model.ResultBody;
import com.teaming.cloud.framework2.common.pojo.PageResult;

import java.util.List;


public interface DeviceService extends IService<Device> {


    ResultBody getDetail(String id);

    ResultBody addDevice(Device entity);

    ResultBody modifyDevice(Device entity);

    ResultBody deleteById(String id);

    ResultBody queryDevices(DeviceReq deviceReq);

    IPage<Device> queryDevicesForPc(DeviceReq deviceReq);

    Long getUUID();

   List<Device> getDeviceByIds(List<String> deviceIds);
}